#ifndef SessionNotebook_H
#define SessionNotebook_H

#include "tux.h"
#include "NotebookCtrl.h"

class SessionPanel;

class SessionNotebook : public NotebookCtrl
{
   DECLARE_EVENT_TABLE()
     
public:
	SessionNotebook(wxWindow *parent);   

   void OnPageClose(wxCommandEvent& event);

   void SelectPanel(wxWindow* panel);

   SessionPanel* FindPanelByPassport(const wxString& passport);

protected:
	virtual void ClosePage(int id);
	virtual void ClosePageAll();
	virtual void ClosePageOthers(int id);
       
}; 
#endif


